package org.csu.jpetstore_users_backend_pj.service;

import org.csu.jpetstore_users_backend_pj.entity.Category;
import org.csu.jpetstore_users_backend_pj.entity.Product;
import org.csu.jpetstore_users_backend_pj.vo.*;

import java.util.List;

public interface CatalogService {

//    public List<Category> getCategories();

    public CategoryVO getCategory(String categoryId);

    public List<CategoriesVO> getCategories();

    public ProductVO getProduct(String productId);

    public ItemVO getItem(String itemId);

    public boolean isItemInStock(String itemId);

    public List<Product> searchProductList(String keyword);
    public InfoWindowCategoryVO getInfoWindowCategoryVO(String categoryId);

    public String updateImgSrc(String itemid) ;
}
